package com.gzj.environment.model.client.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.gzj.environment.model.base.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 购买服务的账号实体
 */
@TableName("cl_account")
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Account extends BaseEntity {

    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long companyId; // 所属的公司id
    private String username; // 用户名

    @JsonIgnore
    private String password; // 密码
    private String mobile; // 手机号码
}
